//
//  playerView.m
//  A Learning Walk
//
//  Created by dllo on 16/6/21.
//  Copyright © 2016年 战斗民族. All rights reserved.
//

#import "playerView.h"

@implementation playerView


-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        
    }
    return self;
}
+ (Class)layerClass {
    return [AVPlayerLayer class];
}

- (AVPlayer *)player {
    return [(AVPlayerLayer *)[self layer] player];
}

- (void)setPlayer:(AVPlayer *)player {
    [(AVPlayerLayer *)[self layer] setPlayer:player];
}






@end
